package extensions.packet;

import extensions.NetworkClient;
import extensions.Server;
import extensions.romario.packet.AbstractPacket;
import extensions.romario.server.MainJME;

public abstract class ClientPacket extends AbstractPacket {

	private NetworkClient _client;
	private Server _server;
	private MainJME _application;

	public ClientPacket(short id) {
		super(id);
	}


	public void setClient(NetworkClient client) {
		_client = client;
	}

	protected NetworkClient getNetworkClient() {
		return _client;
	}

	public void setServer(Server server) {
		_server = server;
	}

	public void setApplication(MainJME jme) {
		_application = jme;
	}

	protected MainJME getApplication() {
		return _application;
	}

	protected Server getServer() {
		return _server;
	}

}
